php forum
php mysql forum
php mysql smarty
 
Page 1 of 5 1 2 3 4 5 >
Topic Options
#232474 - 01/10/03 12:03 PM [6.2] My Cookies utility
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Updated for UBB.threads 6.2 <br /> <br />This will display your cookies and allow you to expire them. When a user is having problems that seem cookie related have them use this to clear their cookies. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Place it in your ubbthreads directory and provide a link to the mycookies.php script. <br /> <br />DEMO: Here at threadsdev <br /> <br /> <br />Update (January 13, 2003): With Carl's more informative instructions/information I decided to add in language file support. The zip includes the english language file "mycookies.lang.php" which needs to be placed in all language directories. Translate as needed. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Updated on January 19, 2003 to include German language file. Thanks Carl/Astaran <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Updated on January 26, 2003 to hopefully work on all installs. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br />Updated on January 26 (hours later), 2003 to hopefully work on all installs again. <img src="/forum/images/graemlins/smile.gif" alt="" /> <br /> <br /> <br />If you do translate the language file please post your translation so I can add it to the zip file for others. Thanks. <img src="/forum/images/graemlins/smile.gif" alt="" />


Attachments
64372-mycookies.6.2.1.zip (179 downloads)



Edited by JoshPet (02/16/03 05:13 AM)
_________________________
~Dave
ChattersOnline.com

Top
#232475 - 01/10/03 01:44 PM Re: [6.2] Cookie Pal utility [Re: sjsaunders]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
LOL OK What do you think is wrong with this Dave <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />http://bbs.turbosport.co.uk/index.php?paction=cookies<br /><br />http://bbs.turbosport.co.uk/pals/cookiepal.php
_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
#232476 - 01/10/03 01:46 PM Re: [6.2] Cookie Pal utility [Re: groov_richmond]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Guess I should rename this. It's not a "pal" for IIP. It's stand alone. Place it in your ubbthreads directory. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232477 - 01/10/03 01:49 PM Re: [6.2] My Cookies utility [Re: sjsaunders]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Ok renamed it. Should be less confusion now. <img src="/forum/images/graemlins/wink.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232478 - 01/10/03 02:18 PM Re: [6.2] Cookie Pal utility [Re: groov_richmond]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I had thought about adding this into the IIP package once or twice before. I'll probably do so sometime tonight. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232479 - 01/10/03 02:21 PM Re: [6.2] Cookie Pal utility [Re: sjsaunders]
Turbosport Offline
Member

Registered: 09/08/01
Posts: 157
Loc: Kent, UK.
cheers Dave working now <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />Should have looked at the script <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
Regards
Clint

Running on WIN2003 Web Server.

Paranoid people get followed too!

Top
#232480 - 01/10/03 02:40 PM Re: [6.2] Cookie Pal utility [Re: groov_richmond]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
That's good. <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I broke it though when I renamed the file. I forgot to set the location it returns to when expiring cookies to the new name. All fixed now. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232481 - 01/11/03 04:01 AM Re: [6.2] My Cookies utility [Re: sjsaunders]
sportbikes Offline
Member

Registered: 10/29/02
Posts: 167
Loc: So Cal USA
How does this differ from the earlier version that seems to still work?
_________________________
mike
www.esportbike.com

Top
#232482 - 01/11/03 09:07 AM Re: [6.2] My Cookies utility [Re: alsalmicom]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Incoming variable values are pulled using the get_input function in .threads 6.2 so register globals can be turned off for better security. Other possible cookie paths are used in addition to the configured path to cover cookies that may have been inadvertantly set with the wrong paths during setup or maintenance of the forums. Depending on your setup your old script will NOT delete your w3t_visit cookie in .threads 6.2. Cookie values are decoded to show their exact value for curiosity's sake as well.<br /><br />I had to look to see myself and while I was at it I found another error. I had the form posting to the old cookiepal.php script and not the new name. I also put the new table wrappers of .threads 6.2 to use and made the display validate XHTML 1.0 transitional as well. I'll upload it again after this post.<br /><br />This is how it differs. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232483 - 01/11/03 01:30 PM Re: [6.2] My Cookies utility [Re: sjsaunders]
JoshPet Offline
I type Like navaho

Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
This script is one of the best threads add ons. It should be standard. Thanks Dave.
_________________________
Joshua Pettit
www.JoshuaPettit.com
My abilities are for hire.

Top
#232484 - 01/11/03 02:40 PM Re: [6.2] My Cookies utility [Re: sjsaunders]
Dalantech Offline
Junior Member

Registered: 02/11/01
Posts: 2392
Loc: Naples, Italy
Once again you rule! <img src="/forum/images/graemlins/cool.gif" alt="" />
_________________________
Da LAN Tech

Threads Dev Moderator

Top
#232485 - 01/13/03 05:18 PM Re: [6.2] My Cookies utility [Re: jacksonm99]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
Thank you for this cool tool. <br /> <br />I thought that giving some more explanation to the users would help, so I extended your feedback-messages a little: <br /> <br />echo "<tr><td class=\"darktable\" colspan=\"2\"><form method=\"post\" action=\"{$config['phpurl']}/mycookies.php\"><input type=\"submit\" name=\"submit\" value=\"Expire Cookies\" class=\"buttons\" /><input type=\"hidden\" name=\"doExpire\" value=\"1\" /><input type=\"hidden\" name=\"Cat\" value=\"$Cat\" /></form> <br /> [:"brown"]<p>Expiring (deleting) your board's cookies might be useful if you suspect that they are damaged and the board is malfunctioning.</p><p>Expiring those cookies will do NO harm at all, but this will log you out of the board. - Once you login and start using the board again, new fresh cookies will be set automatically.</p>[/] <br /></td></tr>$tbclose"; <br /> <br />echo "<tr><td align=\"left\" class=\"lighttable\" colspan=\"2\">You have no current cookies.[:"brown"] - This will log you out. Once you login and start using the board again, new cookies will be set automatically. [/]</td></tr>"; <br />


Edited by caymuc (01/13/03 05:23 PM)
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232486 - 01/13/03 05:52 PM Re: [6.2] My Cookies utility [Re: rodrigo1]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Thanks <img src="/forum/images/graemlins/smile.gif" alt="" /><br /><br />I'll get your extra information into this yet tonight. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232487 - 01/13/03 09:23 PM Re: [6.2] My Cookies utility [Re: rodrigo1]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
I just added in your extra information in the form of a language file. I'm hoping that you will supply a German version of the language file so I can package it up with the zip.<br /><br />If anyone else can provide other languages please post the translated language files here and I'll update the zip with them. Thanks! <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232488 - 01/13/03 10:22 PM Re: [6.2] My Cookies utility [Re: sjsaunders]
Dslam Offline
Member

Registered: 06/05/01
Posts: 246
Loc: USA
Wow more good stuff dave . Thanks man . <img src="/forum/images/graemlins/smile.gif" alt="" />

Top
#232489 - 01/13/03 10:34 PM Re: [6.2] My Cookies utility [Re: interforos]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Your welcome <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232490 - 01/15/03 03:02 PM Re: [6.2] My Cookies utility [Re: sjsaunders]
caymuc Offline
Enthusiast

Registered: 01/17/01
Posts: 449
[]I'm hoping that you will supply a German version [/] <br /> <br />OK, I'll try: <br /> <br /> [:"#666666"]<p>Expiring (deleting) your board's cookies might be useful if you suspect that they are damaged and the board is malfunctioning.</p> <br /><p>Expiring those cookies will do NO harm at all, but this will log you out of the board. - Once you login and start using the board again, new fresh cookies will be set automatically.</p> [/] <br /> <br /></p><p>Das L&ouml;schen der Forum-Cookies kann z.B. sinnvoll sein, wenn das Forum nicht wie erwartet funktioniert und Sie vermuten, dass es vielleicht an besch&auml;digten Cookies liegen k&ouml;nnte.</p> <br /><p>Das L&ouml;schen dieser Cookies richtet KEINEN Schaden an aber Sie werden aus dem Forum abgemeldet. Sobald Sie sich erneut anmelden, werden automatisch neue, "frische" Cookies im Browser angelegt.</p> <br /> <br /> [:"#666666"]You have no current cookies. - This will log you out. Once you login and start using the board again, new cookies will be set automatically. [/] <br /> <br />Sie haben keine Forum-Cookies (mehr) in Ihrem Browser. - Sie werden nun aus dem Forum abgemeldet. Sobald Sie sich erneut anmelden, werden automatisch neue Cookies im Browser angelegt. <br />


Edited by caymuc (01/15/03 03:05 PM)
_________________________
Carl
Colour-Ize-Forums (test entry: user: 'test' pw: 'test2')

Top
#232491 - 01/15/03 06:14 PM Re: [6.2] My Cookies utility [Re: rodrigo1]
JustDave Offline
That 70's Guy

Registered: 06/24/01
Posts: 4097
Thanks Carl but would you mind downloading the zip and creating a german language file based on the english one that's included and attaching it here? Thanks. <img src="/forum/images/graemlins/smile.gif" alt="" />
_________________________
~Dave
ChattersOnline.com

Top
#232492 - 01/16/03 02:39 AM Re: [6.2] My Cookies utility [Re: sjsaunders]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
I created the german language file based on Carls suggestions. <br />See attached file.


Attachments
65164-mycookies.lang.txt (49 downloads)

_________________________
Running a community? -> Keep informed and take it to the next level

Top
#232493 - 01/16/03 03:01 AM Re: [6.2] My Cookies utility [Re: -Fusion-]
Astaran Offline
Addict

Registered: 12/21/00
Posts: 1545
Loc: Germany
Just noticed that $user has no value in this script. Since this page doesn't care about user authentification i'd suggest to replace send_header param $user with '0'.
_________________________
Running a community? -> Keep informed and take it to the next level

Top
Page 1 of 5 1 2 3 4 5 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks